<!DOCTYPE HTML>
<html>
<head>
    <title>Title</title>
    <meta charset="UTF-8">
</head>
<body>

<h1>你好：<font color="red">${name}</font></h1>
<h1>我喜欢：${hobby}</h1>
员工名：${emp.name}<br/>
薪资：${emp.salary}<br/>
id：${emp.id}
<hr>
<ul>

   <#list depts as d>
   <#if d_index %2==0>
      <li style="background-color:red">${d_index}-${d.id}-${d.name}</li>
   <#else>
      <li style="background-color:green">${d_index}-${d.id}-${d.name}</li>
   </#if>
   </#list>
</ul>
date:${now?date}<br/>
time:${now?time}<br/>
datetime:${now?datetime}<br/>
${notFound!"默认值"}
 <#if notFound??>when-present<#else>when-missing</#if>
<#include "in.ftl">
</body>
</html>
